Optimal. Leaf size=56 \[ -\frac{a^2 (a x+b)^9}{495 b^3 x^9}+\frac{a (a x+b)^9}{55 b^2 x^{10}}-\frac{(a x+b)^9}{11 b x^{11}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0122673, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {263, 45, 37} \[ -\frac{a^2 (a x+b)^9}{495 b^3 x^9}+\frac{a (a x+b)^9}{55 b^2 x^{10}}-\frac{(a x+b)^9}{11 b x^{11}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 263
Rule 45
Rule 37
Rubi steps
\begin{align*} \int \frac{\left (a+\frac{b}{x}\right )^8}{x^4} \, dx &=\int \frac{(b+a x)^8}{x^{12}} \, dx\\ &=-\frac{(b+a x)^9}{11 b x^{11}}-\frac{(2 a) \int \frac{(b+a x)^8}{x^{11}} \, dx}{11 b}\\ &=-\frac{(b+a x)^9}{11 b x^{11}}+\frac{a (b+a x)^9}{55 b^2 x^{10}}+\frac{a^2 \int \frac{(b+a x)^8}{x^{10}} \, dx}{55 b^2}\\ &=-\frac{(b+a x)^9}{11 b x^{11}}+\frac{a (b+a x)^9}{55 b^2 x^{10}}-\frac{a^2 (b+a x)^9}{495 b^3 x^9}\\ \end{align*}
Mathematica [A] time = 0.0075336, size = 102, normalized size = 1.82 \[ -\frac{28 a^6 b^2}{5 x^5}-\frac{28 a^5 b^3}{3 x^6}-\frac{10 a^4 b^4}{x^7}-\frac{7 a^3 b^5}{x^8}-\frac{28 a^2 b^6}{9 x^9}-\frac{2 a^7 b}{x^4}-\frac{a^8}{3 x^3}-\frac{4 a b^7}{5 x^{10}}-\frac{b^8}{11 x^{11}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 91, normalized size = 1.6 \begin{align*} -{\frac{{a}^{8}}{3\,{x}^{3}}}-{\frac{28\,{a}^{6}{b}^{2}}{5\,{x}^{5}}}-{\frac{{b}^{8}}{11\,{x}^{11}}}-2\,{\frac{{a}^{7}b}{{x}^{4}}}-{\frac{4\,{b}^{7}a}{5\,{x}^{10}}}-7\,{\frac{{a}^{3}{b}^{5}}{{x}^{8}}}-{\frac{28\,{a}^{5}{b}^{3}}{3\,{x}^{6}}}-10\,{\frac{{a}^{4}{b}^{4}}{{x}^{7}}}-{\frac{28\,{a}^{2}{b}^{6}}{9\,{x}^{9}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.996769, size = 122, normalized size = 2.18 \begin{align*} -\frac{165 \, a^{8} x^{8} + 990 \, a^{7} b x^{7} + 2772 \, a^{6} b^{2} x^{6} + 4620 \, a^{5} b^{3} x^{5} + 4950 \, a^{4} b^{4} x^{4} + 3465 \, a^{3} b^{5} x^{3} + 1540 \, a^{2} b^{6} x^{2} + 396 \, a b^{7} x + 45 \, b^{8}}{495 \, x^{11}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.39164, size = 217, normalized size = 3.88 \begin{align*} -\frac{165 \, a^{8} x^{8} + 990 \, a^{7} b x^{7} + 2772 \, a^{6} b^{2} x^{6} + 4620 \, a^{5} b^{3} x^{5} + 4950 \, a^{4} b^{4} x^{4} + 3465 \, a^{3} b^{5} x^{3} + 1540 \, a^{2} b^{6} x^{2} + 396 \, a b^{7} x + 45 \, b^{8}}{495 \, x^{11}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.843198, size = 97, normalized size = 1.73 \begin{align*} - \frac{165 a^{8} x^{8} + 990 a^{7} b x^{7} + 2772 a^{6} b^{2} x^{6} + 4620 a^{5} b^{3} x^{5} + 4950 a^{4} b^{4} x^{4} + 3465 a^{3} b^{5} x^{3} + 1540 a^{2} b^{6} x^{2} + 396 a b^{7} x + 45 b^{8}}{495 x^{11}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1364, size = 122, normalized size = 2.18 \begin{align*} -\frac{165 \, a^{8} x^{8} + 990 \, a^{7} b x^{7} + 2772 \, a^{6} b^{2} x^{6} + 4620 \, a^{5} b^{3} x^{5} + 4950 \, a^{4} b^{4} x^{4} + 3465 \, a^{3} b^{5} x^{3} + 1540 \, a^{2} b^{6} x^{2} + 396 \, a b^{7} x + 45 \, b^{8}}{495 \, x^{11}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]